package com.hnchances.service;

import com.github.pagehelper.PageInfo;
import com.hnchances.entity.Grades;

import java.util.Map;

public interface ScoreService {
    void addScore(Grades grades);

    void updateScore(Grades grades);

    void deleteScore(Long id);

    Grades getScoreById(Long id);

    PageInfo<Map<String, Object>> queryScores(String studentName,
                                              String className,
                                              String courseName,
                                              String examName,
                                              int pageNum,
                                              int pageSize);
}
